package cn.edu.nuc.crm.entity;

public class Admin {
    private Integer adminid;

    private Integer roleid;

    private String adminnane;

    private String adminpassword;

    public Integer getAdminid() {
        return adminid;
    }

    public void setAdminid(Integer adminid) {
        this.adminid = adminid;
    }

    public Integer getRoleid() {
        return roleid;
    }

    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    public String getAdminnane() {
        return adminnane;
    }

    public void setAdminnane(String adminnane) {
        this.adminnane = adminnane == null ? null : adminnane.trim();
    }

    public String getAdminpassword() {
        return adminpassword;
    }

    public void setAdminpassword(String adminpassword) {
        this.adminpassword = adminpassword == null ? null : adminpassword.trim();
    }

	@Override
	public String toString() {
		return "Admin [adminid=" + adminid + ", roleid=" + roleid + ", adminnane=" + adminnane + ", adminpassword="
				+ adminpassword + "]";
	}
    
}